package com.qf.service.impl;

import com.qf.dao.AddressDao;
import com.qf.dao.impl.AddressDaoImpl;
import com.qf.model.Address;
import com.qf.service.AddressService;

import java.util.List;

public class AddressServiceImpl implements AddressService {

    AddressDao dao=new AddressDaoImpl();
    @Override
    public List<Address> getAllAddress(int uid) {
        return dao.selectAddressesByUid(uid);
    }
}
